#include "renderer.hpp"


void Scene::addPrimitive(const Primitive* prim)
{
	primitives_.push_back(prim);
}

void Scene::addPrimitive(SurfacePrimitive* prim, const SurfaceShader* sh)
{
	prim->setSurfaceShader(sh);
	primitives_.push_back(prim);
}

/*void Scene::addObject(Object * object)
{
}*/

Scene::PrimIter Scene::begin() const
{
	return primitives_.begin();
}

Scene::PrimIter Scene::end() const
{
	return primitives_.end();
}
